package com.gzhryc.shared_device.oem.micro.api;

import com.gzhryc.common.config.PropertyTools;

public class MicroConstants {

	public final static String PROGRAM_TYPE = "micro_app_api";
	public final static String PROGRAM_TYPE_NAME = "接口API服务";

	public final static String MemberDefaultName = "匿名会员";

	public final static String ResourceDomain = "resDomain";
	public final static String ResourceToken = "resToken";

	public final static String ATTR_LOGIN_MEMBER = "loginMember";

	public final static Integer PAGE_LIMIT = 30;

	private static int debug = -1;
	public static int isDebug() {
		if(debug == -1) {
			debug = PropertyTools.get().getInt(PROGRAM_TYPE + ".isDebug", 0);
		}
		return debug;
	}
}
